package StartGame;
import org.newdawn.slick.Image;
import org.newdawn.slick.geom.Rectangle;


public class MenueItem {

	private Image image;
	private int x;
	private int y;
	private boolean selected;
	private String type;
	private Rectangle itemRect;
	private int direction = 0;
	private double costs;
	
	public MenueItem(Image image, int x, int y, String type, double costs) {
		this.image = image;
		this.x = x;
		this.y = y;
		this.type = type;
		this.costs = costs;
		int size = image.getWidth();
		setItemRect(new Rectangle(x, y, size, size));
	}

	public int getX() {
		return x;
	}
	
	public int getY() {
		return y;
	}
	
	public Image getImage() {
		return image;
	}
	
	public void setSelected(boolean selected) {
		this.selected = selected;
	}
	
	public boolean getSelected() {
		return selected;
	}

	public String getType() {
		return type;
	}
	
	public void setItemRect(Rectangle itemRect) {
		this.itemRect = itemRect;
	}
	
	public Rectangle getItemRect() {
		return itemRect;
	}
	
	public int getDirection() {
		return direction;
	}
	
	public void setDirection(int direction) {
		this.direction = direction;
	}
	
	public double getCosts() {
		return costs;
	}
		

}
